package com.runvp.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取设备相关配置
 *
 * @author xkk
 */
@Component
@ConfigurationProperties(prefix = "biz.device")
public class DeviceConfig {

    /**
     * checkUrl
     */
    private static String checkUrl;

    /**
     * restartUrl
     */
    private static String restartUrl;
    /**
     * 下发收费方案
     */
    private static String sendFeeUrl;

    /**
     * outUrl
     */
    private static String outUrl;
    /**
     * outUrl
     */
    private static String stopUrl;
    public static String getCheckUrl() {
        return checkUrl;
    }

    public void setCheckUrl(String checkUrl) {
        DeviceConfig.checkUrl = checkUrl;
    }

    public static String getOutUrl() {
        return outUrl;
    }

    public  void setOutUrl(String outUrl) {
        DeviceConfig.outUrl = outUrl;
    }

    public static String getStopUrl() {
        return stopUrl;
    }

    public void setStopUrl(String stopUrl) {
        DeviceConfig.stopUrl = stopUrl;
    }

    public static String getRestartUrl() {
        return restartUrl;
    }

    public void setRestartUrl(String restartUrl) {
        DeviceConfig.restartUrl = restartUrl;
    }

    public static String getSendFeeUrl() {
        return sendFeeUrl;
    }

    public void setSendFeeUrl(String sendFeeUrl) {
        DeviceConfig.sendFeeUrl = sendFeeUrl;
    }
}